package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警类型对象 his_engine_warn_type
 * 
 * @author Alan
 * @date 2024-03-07
 */
public class HisEngineWarnType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警编号 */
    private Integer id;

    /** 预警名称 */
    @Excel(name = "预警名称")
    private String name;

    /** 类型 1-处方计算  2-直接计算 */
    @Excel(name = "类型 1-处方计算  2-直接计算")
    private Integer type;

    /** 预警数据类型,1:就诊数据预警,2医疗机构数据预警 */
    @Excel(name = "预警数据类型,1:就诊数据预警,2医疗机构数据预警")
    private Integer sourceDataType;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer enabled;

    /** 预警描述 */
    @Excel(name = "预警描述")
    private String cautionContent;

    /** 一级指标描述 */
    @Excel(name = "一级指标描述")
    private String riskFstFvl;

    /** 二级指标描述 */
    @Excel(name = "二级指标描述")
    private String riskSndLvl;

    /** 规则编号 */
    @Excel(name = "规则编号")
    private String ruleNumber;

    @Excel(name = "总数")
    private String total;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setSourceDataType(Integer sourceDataType) 
    {
        this.sourceDataType = sourceDataType;
    }

    public Integer getSourceDataType() 
    {
        return sourceDataType;
    }
    public void setEnabled(Integer enabled) 
    {
        this.enabled = enabled;
    }

    public Integer getEnabled() 
    {
        return enabled;
    }
    public void setCautionContent(String cautionContent) 
    {
        this.cautionContent = cautionContent;
    }

    public String getCautionContent() 
    {
        return cautionContent;
    }
    public void setRiskFstFvl(String riskFstFvl) 
    {
        this.riskFstFvl = riskFstFvl;
    }

    public String getRiskFstFvl() 
    {
        return riskFstFvl;
    }
    public void setRiskSndLvl(String riskSndLvl) 
    {
        this.riskSndLvl = riskSndLvl;
    }

    public String getRiskSndLvl() 
    {
        return riskSndLvl;
    }
    public void setRuleNumber(String ruleNumber) 
    {
        this.ruleNumber = ruleNumber;
    }

    public String getRuleNumber() 
    {
        return ruleNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("type", getType())
            .append("sourceDataType", getSourceDataType())
            .append("enabled", getEnabled())
            .append("createTime", getCreateTime())
            .append("cautionContent", getCautionContent())
            .append("riskFstFvl", getRiskFstFvl())
            .append("riskSndLvl", getRiskSndLvl())
            .append("ruleNumber", getRuleNumber())
            .toString();
    }
}
